package com.platform.common.annotations;

import java.lang.annotation.*;

/**
 * describe:角色操作权限
 *
 * @author rainly
 * @date 2020/4/22
 * @time 6:09 下午
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@Documented
public @interface RoleOperation {
    /**
     * 可以传入多个code
     * @return String[]
     */
    String[] codes();
}
